package com.gzs.learn.payment.pay;

import com.gzs.learn.payment.inf.enums.OrderFromEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author zhisong.guan
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class ContextBase implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 支付流水号 */
    protected Long serial;
    /** 退款流水号 */
    protected Long refundSerial;
    /** 支付状态 */
    protected String status;
    /** 订单号 */
    protected Long orderId;
    /** 订单来源 */
    protected OrderFromEnum orderFrom;
    /** 支付用户ID */
    protected Long memberId;
    /** 支付渠道 */
    protected Integer channel;
    /** 支付金额,以分为单位 */
    protected Long amt;
    /** 操作人信息 */
    protected String operator;
    /** 操作人IP信息 */
    protected String operatorIp;
}
